package com.example.demo.model.query;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

@Getter
@Setter
public abstract class PageQuery implements Serializable {

    @Schema(description = "当前页码", example = "1")
    protected int pageNum = 1;
    @Schema(description = "每页数量", example = "10")
    protected int pageSize = 10;
}
